package com.itwelkin.ssm.mapper;

import com.itwelkin.ssm.model.Customer;
import com.itwelkin.ssm.model.CustomerCondition;

import java.util.List;

public interface CustomerMapper {
    List<Customer> queryCustomerList();


    List<Customer> queryCustomerListWithCondition(CustomerCondition customerCondition);

    void add(Customer customer);

    void deleteCustomer(String id);

    Customer queryCustomerById(String id);

    void updateCustomerById(Customer customer);
}
